Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔨 Fix script watching #233

Merged
merged 1 commit into from
Mar 10, 2021
Merged

🔨 Fix script watching #233

merged 1 commit into from
Mar 10, 2021

Conversation

wwilsman
Copy link
Contributor

What is this?

If the first run of a script fails, it never gets to the watch logic. The error handler also called process.exit, which it should not do when watching.

Since test runners like to assume they have control over the process, when run together they were forked. They are now always forked since the watch process needs to control its own process.

@wwilsman wwilsman added the 🧹 maintenance General maintenance label Mar 10, 2021
@wwilsman wwilsman requested a review from Robdel12 March 10, 2021 23:14
Copy link
Contributor

@Robdel12 Robdel12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏁

@wwilsman wwilsman enabled auto-merge (squash) March 10, 2021 23:18
@wwilsman wwilsman merged commit 1b228f6 into master Mar 10, 2021
@wwilsman wwilsman deleted the ww/fix-watch branch March 10, 2021 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 maintenance General maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants